﻿#include "FITKAcousticsHDF5Constants.h"
#include "FITKAcousticsHDF5Frequencies.h"


Acoustics::FITKAcousticsHDF5Constants::~FITKAcousticsHDF5Constants()
{
    //释放内存
    if (_frequencies) delete _frequencies;
}

Acoustics::FITKAcousticsHDF5Frequencies* Acoustics::FITKAcousticsHDF5Constants::getFITKAcousticsHDF5Frequencies()
{
    //判空
    if (nullptr == _frequencies)
    {
        _frequencies = new FITKAcousticsHDF5Frequencies();
    }
    return _frequencies;
}

void Acoustics::FITKAcousticsHDF5Constants::clearData()
{
    //清空数据
    if (nullptr != _frequencies) _frequencies->clearData();
}
